/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hhx.dao;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.hhx.entity.HhxFinance;

/**
 * 单表生成DAO接口
 * @author zmy
 * @version 2019-04-12
 */
@MyBatisDao
public interface HhxFinanceDao extends CrudDao<HhxFinance> {

	HhxFinance wxget(String userid);

	int wxinsert(@Param("id") String id,@Param("userid") String userid,@Param("trade") String trade,@Param("description") String description,@Param("year1") String year1,@Param("income1") String income1,@Param("profit1") String profit1,
			@Param("year2") String year2,@Param("income2") String income2,@Param("profit2") String profit2,@Param("plan") String plan,@Param("type") String type,@Param("organization") String organization,@Param("ismerge") String ismerge,
			@Param("extra") String extra,@Param("amt") String amt);

	int updateamt(String financeid);
	
}